<?php
	class CommonAction extends Action{

		function _initialize(){
			Session::start();
			if (!Session::get('user')){
				$this->assign('jumpUrl', '__APP__/login/');
				$this->assign('waitSecond', '1');
				$this->error('尚未登录');
			}
		}
	}
